const mongoose = require('./db')
const Schema = mongoose.Schema
const ExamAcCodeSchema = new Schema({
    code: {
        type: String,
        required: true
    },
    months: {
        type: Number,
        required: true
    },
    used: {
        type: Boolean,
        default: false
    }
})

module.exports = ExamAcCode = mongoose.model('exam_ac_code', ExamAcCodeSchema)
